home *** CD-ROM | disk | FTP | other *** search
- #
- # HC.CFG 940615
- #
- # HamComm 3.0 sample configuration file
- #
-
- #
- # HamComm will automatically search for the file HC.CFG on program startup.
- # The current directory is searched first, then all directories along
- # the current "PATH" environment variable.
- #
- # The character '#' starts a comment. All characters up to the end of
- # the line are ignored, including the '#' character itself.
- #
- # Numbers are normally entered in decimal notation, but you can also
- # use hexadecimal values starting in '0x'.
- #
-
-
- #
- # On program termination you are asked if you really want to quit now.
- # This dialog can be enabled/disabled using the following command.
- #
-
- set confirmexit on
-
-
- #
- # Setup serial ports
- #
- # HamComm maintains an internal table of available serial ports.
- # Every port has a unique base port address and interrupt request line.
- # Up to four ports can be defined. On startup the table looks like this:
- #
- # iobase irq
- # COM1 0x3f8 4
- # COM2 0x2f8 3
- # COM3 0 0
- # COM4 0 0
- #
- # COM1 and COM2 are predefined to their standard values.
- # COM3 and COM4 are undefined.
- #
- # Undefined ports can not be selected from the 'Port' menue.
- #
- # Let's assume we have a non-standard serial port at address 0x2E0 (hex)
- # using interrupt request 11. The following 'define port' statement will
- # make this port available as COM4.
- #
-
- # Example: define port com4 iobase 0x2e0 irq 11
-
-
- #
- # We can also redefine any port using the 'define port' statement.
- #
- # For the following example let's assume we have a mouse connected to
- # COM1, so we don't want HamComm to fool around with that port.
- # If you remove the comment character from the following statement
- # the base address and irq for COM1 will be set to 0 and HamComm
- # will ignore it. Consequently COM1 is now no longer available from
- # the 'Port' menue.
- #
-
- # Example: define port com1 iobase 0 irq 0
-
-
- #
- # At startup HamComm normally uses COM2. This can be changed with
- # the 'select port' statement. Undefined ports can not be selected.
- # (see also: 'define port com...' above).
- #
-
- select port com2
-
-
- #
- # HamComm needs the current date/time in several places. It is displayed
- # on the screen, written to logfiles and can easily be included in the TX
- # window. If you don't want to use the PCs local time the following
- # command sets the name (3 characters) of the desired timezone.
- #
- # Example: it is often convenient to keep time in UTC, so ...
- #
-
- set timezone UTC
-
-
- #
- # The "set timezone ..." command above sets just the name of the
- # timezone to be used. In order to display the correct time for that zone
- # HamComm needs to know the difference in seconds between the PCs clock
- # and the desired timezone.
- #
- # Example:
- #
- # i live in Germany. The local timezone is "Central European Time"
- # which is one hour ahead of UTC, so i have to subtract one hour from
- # the PCs current time. One hour is about 3600 seconds.
- #
-
- set timediff -3600
-
-
- #
- # The operating mode can be changed from a .CFG file using the "set mode .."
- # command. Available modes are:
- # CW, BAUDOT, ASCII7, ASCII8, FEC, ARQ, ARQLISTEN,
- # BITLEN, SCOPE, SPECTRUM and TUNE.
- #
-
- # Example: set mode baudot
-
-
- #
- # AMTOR clock correction. Receive-only may work without adjustment.
- # See manual for details.
- #
-
- set clockcorr 0
-
-
- #
- # Enable/disable AAB (Automatic-Answer-Back) for AMTOR ARQ mode.
- # If a link is established with an AMTOR station in ARQ mode
- # and a WRU (who-are-you) character is received
- # and AAB is enabled
- # and the text 'AmtorAAB' is defined,
- # HamComm will automatically turn the link around and send the AmtorAAB text.
- #
- # Some AMTOR mailboxes send a WRU character after the link is established.
- # AAB can be used for automatic login.
- #
-
- set amtoraab on
-
-
- #
- # 'Extended baudot' maps all ASCII characters to an extended Baudot code.
- # It is used by the APLINK (Amtor-Packet LINK) mailboxes around the world.
- #
-
- set extendedbaudot on
-
-
- #
- # Set the baud value for Baudot and ASCII send and receive modes.
- # The default value is 45 baud.
- #
-
- set baud 45
-
-
- #
- # Set the WPM value for morse code transmission.
- # The default value is 15 WPM.
- #
-
- set wpm 15
-
-
- #
- # Set the startup audio center frequency for receive and transmit tones.
- # You may select any value between 500Hz and 2400Hz (default is 700Hz).
- #
-
- set afcenter 1360
-
-
- #
- # Set startup audio frequency shift between mark and space tones.
- # You may select any value between 25Hz and 999Hz (default is 170Hz).
- #
-
- set afshift 170
-
-
- #
- # While AFC (Automatic Frequency Control) is turned on, the audio center
- # frequency will automatically follow the input signal during RTTY reception.
- #
- # Disable AFC for now.
- #
-
- set afc off
-
-
- #
- # Control automatic drop-back to LETTER mode for Baudot reception.
- #
-
- set autounshift on
-
-
- #
- # Control blank line suppression for the RX window.
- # To save screen space we normally don't want blank lines.
- #
-
- set rxblanklines off
-
-
- #
- # Set keying direction: normal = 'mark' is high tone
- # reverse = 'mark' is low tone
-
- set keying normal
-
-
- #
- # (De)activate the decoder for weather reports in SHIP or SYNOP format.
- #
-
- set wxdecode off
-
-
- #
- # Set the default on/off state of the grid for the SCOPE function.
- #
- # On monochrome monitors and some LCD screens the display looks
- # better with the grid turned off.
- #
-
- set scopegrid on
-
-
- #
- # A conventional RTTY decoder can be used in parallel to the standard
- # HamComm interface. If the following option is set to 'on' the signal
- # from the external converter will be used for character decoding.
- #
-
- set extconv off
-
-
- #
- # When the TX data buffer runs empty during transmit mode, HamComm will
- # automatically start sending idle characters. This feature is normally
- # disabled but can be activated using the following command:
- #
-
- set diddle on
-
-
- #
- # The TX audio signal is normally generated with the PC's speaker.
- # If we use the AFSK signal from the COM port or an external AFSK
- # we probably want to disable it.
- # The speaker can be controlled using the following command.
- #
-
- set speaker on
-
-
- #
- # For some PAs (power amplifier) there should be a delay time between
- # activation of the PTT line and the RF signal from the transmitter.
- # This delay time is controlled by the PADELAY parameter. When switching
- # to TX mode HamComm activates the PTT line immediately, but the speaker
- # output will not be enabled before the specified number of milliseconds
- # have elapsed. Since most HamComm users probably don't have a PA or have
- # a PA that doesn't require the delay, PADELAY is set to 0.
- #
-
- set padelay 0
-
-
- #
- # The transmitter needs a little time to start after we pull the ptt line.
- # Set the TXDELAY to the number of milliseconds required.
- # 30ms should be enough for almost any modern transceiver.
- #
-
- set txdelay 30
-
-
- #
- # Now specify the time to wait after TXDELAY until we send out
- # the first character. Time for your qso partner to switch back
- # to receive mode.
- #
-
- set txwait 1000
-
-
- #
- # Set the number of bytes for the receive buffer.
- #
- # All characters received are first put into this buffer by the
- # interrupt routines. When the TTY functions are active they
- # are removed from the buffer and displayed in the RX window.
- #
- # The size of the receive buffer should not exceed 65000 bytes.
- #
-
- set rxbuffersize 512
-
-
- #
- # Set the size of the transmit buffer.
- #
- # All characters to be transmitted are first copied from the TX window
- # into the transmit buffer. The transmit routine will remove them
- # from the buffer one at a time and send them to the speaker output.
- #
- # The size of the transmit buffer should not exceed 65000 bytes.
- #
-
- set txbuffersize 4096
-
-
- #
- # Set the number of lines for the receive window buffer.
- #
- # This is not the window size on the screen, but the number of received
- # lines that can be rolled back. For each line about 160 bytes of
- # memory are required. Use the SYSTEM entry from the INFO menue to
- # display the size of free memory.
- #
-
- set rxwindowlines 75
-
-
- #
- # Set the number of lines for the transmit window buffer.
- #
-
- set txwindowlines 50
-
-
- #
- # For receive-only the TX window can be disabled on the RX/TX screen
- # to use all available space for the RX window.
- #
-
- set txwindow on
-
-
- #
- # Set the maximum transmit line length. Lines on old mechanical TTY
- # maschines are somewhat less than 80 characters long.
- #
-
- set txlinelength 66
-
-
- #
- # Set the entry mode for the TX window to 'line' or 'word'.
- # This can also be changed any time during program execution
- # using the Control-W key.
- #
-
- set entrymode word
-
-
- #
- # Set the insert mode for the TX window to 'on' or 'off'.
- # This can also be changed any time during program execution
- # using the INS key.
- #
-
- set insertmode off
-
-
- #
- # Define the end-of-text character. HamComm will automatically return to
- # receive mode when the transmit routine reads this character from the
- # tx buffer. The character can be specified as decimal number, hex number
- # or as the character itself.
- #
- # Examples: set endoftext 230 # use the greek letter for 'micro'
- # set endoftext 0x7F # use the DEL character (control-backspace)
- # set endoftext "ß" # this is handy for german keyboards
- #
- # The end-of-text feature can be disabled by using the value 0.
- #
-
- set endoftext 0x7f # control-backspace
-
-
- #
- # The callsign decoder normally uses the file HC.PRE for information
- # about prefixes. If you already have a file with the same format
- # on your disk you can tell HamComm about it with the "set prefixfile"
- # command. Here is an example:
- #
-
- # Example: set prefixfile c:\ham\cqww.cty
-
-
- #
- # A logfile for the RX window can be opened using the "set rxlogfile ..."
- # command.
-
- # Examples: set rxlogfile "startup.log" # open logfile startup.log
- #
- # set rxlogfile "" # close current logfile
-
-
- #
- # Define some standard texts. They can be selected for transmission
- # from the 'Text' menue. The texts labelled SHIFT_Fxx can also be send
- # by pressing the corresponding function key.
- #
- # Double quotes (") are only required if the string contains spaces
- # or the comment character (#).
- #
- # \# will be replaced with the current QSO count.
- # \+ increments QSO count, then just like \#.
- # \d will be replaced with the current date and time.
- # \e will be replaced with the currently selected end-of-text character.
- # \n starts a new line.
- # \z will be replaced with the current time.
- #
- #
- # A text can be included in another text by surrounding its name
- # with '~' (tilde) characters. If the name starts with an AT sign (@)
- # HamComm will look for a file with that name. See 'STATION.TXT' for an
- # example. Note that the text in the included file can itself include
- # other texts or files. Make sure that there are no circular references!
- #
-
-
- define text mycall DL5YEC
- define text myselcall DYEC # AMTOR selcall
- define text myname Django
- define text myqth Paderborn
- define text mylocator JO41JR
-
- # The text "mylocator" is also used by the QTH distance/direction calculator.
-
-
- #
- # Define text for AAB (Automatic-Answer-Back).
- #
- # The text should end with the familiar '+?' sequence to turn the
- # link back to the remote station.
- #
-
- define text AmtorAAB "\nQRA ~mycall~ ~myselcall~ +?"
-
-
- #
- # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
- #
-
- define text SHIFT_F01 " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
- " ~mycall~ ~mycall~\n"
-
- define text SHIFT_F02 " ryryryry ~call~ ~call~ ~call~"
- " de ~mycall~ ~mycall~ pse k k k\n\e\n"
-
- define text SHIFT_F03 " ryryryry ~call~ de ~mycall~\n"
-
- define text SHIFT_F04 " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
-
- define text SHIFT_F05 ~@station.txt~
-
- define text SHIFT_F06 " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
-
- define text SHIFT_F07 " ~call~"
-
- define text SHIFT_F08 " ~mycall~"
-
- define text SHIFT_F09 "ryryryryry"
-
- define text SHIFT_F10 " pse k k k\n"
-
-
- #
- # The following text elements can be used to distinguish
- # received/transmitted text in a logfile. They will be evaluated
- # and inserted at the beginning of every line of the logfile.
- #
- # Examples:
- # define text logrxlabel "" # delete previously defined label
- # define text logrxlabel "RX:" # insert "RX:"
- # define text logrxlabel "~call~ \z " # insert call and time
- #
-
- define text logrxlabel "\z ~timezone~ "
- define text logtxlabel "T "
-
-
- #
- # Some standard phrases
- #
-
- define text std01 " tnx for answering my call."
- define text std02 " my name is ~myname~ ~myname~ ~myname~."
- define text std03 " my qth is ~myqth~ ~myqth~ ~myqth~"
- define text std04 " locator is ~mylocator~ ~mylocator~"
- define text std05 " your report is "
- define text std06 " how do you copy ?"
- define text std07 " tnx for the nice qso and hope to cuagn."
- define text std08 " 73 es 55 to you ~name~ and your family."
- define text std09 " the weather today is "
- define text std10 " the temperature is abt "
- define text std11 " and now i'll get me another beer. "
-
-
- #
- # Define other text elements
- #
-
- define text banner "\noooo o ooooo o o ooooo ooo"
- "\no o o o o o o o o"
- "\no o o oooo o ooo o"
- "\no o o o o o o o"
- "\noooo ooooo oooo o ooooo ooo\n"
-
- #
- # Ignore rest of config file
- #
-
- exit
-
-
- 73 es 55 de Django
-
- packet radio: DL5YEC@DB0BQ.DEU.EU
-
- e-mail: schroeder.pad@sni.de
-